//
//  SecondViewController.m
//  应用程序对象
//
//  Created by 伍银荣 on 2021/6/22.
//  Copyright © 2021 com.example. All rights reserved.
//

#import "SecondViewController.h"

@interface SecondViewController ()

@end

@implementation SecondViewController


-(void)loadView {
    [super loadView];
    self.view.backgroundColor = [UIColor greenColor];
    NSLog(@"--加载视图");
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor purpleColor];
    NSLog(@"---视图加载完成");
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
